<%-- 
    Document   : state
    Created on : Feb 27, 2012, 2:03:04 PM
    Author     : sunchak
--%>

<%@page contentType="text/html" pageEncoding="UTF-8" errorPage="error.jsp"%>
<%@page import="com.binkam.merashehar.exception.MSAuthException" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <%
        if(session.getAttribute("logged_in_user_role")==null)
        throw new MSAuthException();
        %>
        <form method="post" action="/app/StateHandler">
            <table>
                <tr>
                    <td>Country</td>
                    <td>
                        <input type="hidden" name="countryid" value="1"/>
                        <input type="hidden" name="dbflag" value="1"/>
                        <select>
                    <option>Select a Country</option>
                    <option id="1">India</option>
                    </select></td>
                </tr>
                <tr>
                    <td>State Name</td>
                    <td><input type="text" name="statename"/></td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" name="Add Country"/></td>
                </tr>
            </table>
        </form>
    </body>
</html>
